testsuite: Make all gesture test touches happen in the middle of the window
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 12 Oct 2017 16:28:35 +0000 (18:28 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 12 Oct 2017 16:32:27 +0000 (18:32 +0200)
commit06b21b4bec61de5f531f4b02e3f0e4268a98fe10
treeab042cce23d3584127196142cb21e82476e0f7e2
parent54ed2d1e630d9ee87ec5e26b4a9c04d94a5e8d6e
testsuite: Make all gesture test touches happen in the middle of the window

The event coordinates are (so far) irrelevant to what we are testing here,
just make all events happen in the middle of the window in order to ensure
all widgets receive it. More importantly, avoid using fixed pixel distances,
since we don't get guarantees about window sizes.

Fixes the gestures testsuite on X11.
testsuite/gtk/gestures.c